package com.example.service;

import com.example.mybatis.service.CrudService;
import com.example.dto.ImagesDTO;
import com.example.entity.ImagesEntity;

import java.util.List;
import java.util.Map;

/**
 * 图片列表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 1.0-SNAPSHOT 2025-04-29
 */
public interface ImagesService extends CrudService<ImagesEntity, ImagesDTO> {
  Map<String, String> saveUpdateImages(Long id, List<ImagesDTO> imageLists, List<ImagesDTO> thumbnailIimageLists);

  void save(ImagesDTO dto);

  void changeIsRecommend(List<ImagesDTO> imageLists, List<ImagesDTO> thumbnailLists);

  void deleteAllByBelongId(List<Long> ids);
}